<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Binh
 * Date: 1/5/14
 * Time: 10:54 PM
 * To change this template use File | Settings | File Templates.
 */
?>
<div class="containerSlider">
    <div class="main_view">
        <div class="imageWindow">
            <div class="image_reel">
                <a href="<?php echo Uri::create('song/play_song/')."SO10"; ?>">
                    <?php echo Asset::img('home/reel_1.jpg'); ?>
                </a>
                <a href="<?php echo Uri::create('song/play_song/')."SO8"; ?>">
                    <?php echo Asset::img('home/reel_2.jpg'); ?>
                </a>
                <a href="<?php echo Uri::create('song/play_song/')."SO9"; ?>">
                    <?php echo Asset::img('home/reel_3.jpg'); ?>
                </a>
                <a href="<?php echo Uri::create('song/play_song/')."SO11"; ?>">
                    <?php echo Asset::img('home/reel_4.jpg'); ?>
                </a>
            </div>
        </div>
        <div class="paging">
            <a class="" href="#" rel="1">1</a>
            <a class="" href="#" rel="2">2</a>
            <a class="" href="#" rel="3">3</a>
            <a class="" href="#" rel="4">4</a>
        </div>
    </div>
</div><!--Kết thúc container slider-->

<div class="lowerContent">
    <div class="divContent">
        <h3> Bài Hát Mới</h3>
        <ul id="listContent">
            <?php foreach($list_song as $song){ ?>
                <li class="aSong">
                    <div class="songName">
                        <?php echo Asset::img('home/songIcon.png'); ?>
                        <a href="<?php echo Uri::create('song/play_song/').$song['SONG_ID']; ?>">
                            <?php echo $song['SONG_NAME']; ?>
                        </a>
                    </div>

                    <div class="singerName">
                        <?php echo Asset::img('home/micIcon.png'); ?>
                        <a href="<?php echo Uri::create('singer/communication/').$song['SINGER_ID']; ?>">
                            <?php echo $song['SINGER_NAME']; ?>
                        </a>
                    </div>

                    <div class="View">
                        <?php echo Asset::img('home/headphoneIcon.png'); ?>
                        <?php echo $song['VIEW']; ?>
                    </div>
                </li>
            <?php } ?>
        </ul>
    </div><!--Kết thúc new song-->
    <div id="container">
        <section class="tabs">
            <input id="tab-1" type="radio" name="radio-set" class="tab-selector-1" />
            <label for="tab-1" class="tab-label-1">Top Việt Nam</label>

            <input id="tab-2" type="radio" name="radio-set" class="tab-selector-2" checked="checked" />
            <label for="tab-2" class="tab-label-2">Top Quốc Tế</label>

            <div clas="clear-shadow"></div>

            <div class="content">
                <div class ="content-1">
                    <ul class="rsTopListContent">
                        <?php foreach($top_vn as $song){ ?>
                            <li class="rsASong">
                                <ul>
                                    <li>
                                        <?php echo Asset::img('home/songIcon.png'); ?>
                                        <a href="<?php echo Uri::create('song/play_song/').$song['SONG_ID']; ?>">
                                            <?php echo $song['SONG_NAME']; ?>
                                        </a>
                                    </li>
                                    <li>
                                        <?php echo Asset::img('home/micIcon.png'); ?>
                                        <a href="<?php echo Uri::create('singer/communication/').$song['SINGER_ID']; ?>">
                                            <?php echo $song['SINGER_NAME']; ?>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        <?php } ?>
                    </ul>
                </div>
                <div class="content-2">
                    <ul class="rsTopListContent">
                        <?php foreach($top_ngoai as $song){ ?>
                            <li class="rsASong">
                                <ul>
                                    <li>
                                        <?php echo Asset::img('home/songIcon.png'); ?>
                                        <a href="<?php echo Uri::create('song/play_song/').$song['SONG_ID']; ?>">
                                            <?php echo $song['SONG_NAME']; ?>
                                        </a>
                                    </li>
                                    <li>
                                        <?php echo Asset::img('home/micIcon.png'); ?>
                                        <a href="<?php echo Uri::create('singer/communication/').$song['SINGER_ID']; ?>">
                                            <?php echo $song['SINGER_NAME']; ?>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        <?php } ?>
                    </ul>
                </div>
            </div><!--Kết thúc conten-->
        </section>
    </div><!--Kết thúc top song-->
</div><!--Kêt thúc lower content-->